package cn.lanqiao.serviceimpl;

import java.util.ArrayList;
import java.util.List;

import cn.lanqiao.dao.CommonHeroDao;
import cn.lanqiao.daoimpl.CommonHeroDaoImpl;
import cn.lanqiao.entity.User;
import cn.lanqiao.service.CommonService;
import cn.lanqiao.ui.CommonHeroFrm;

public class CommonHeroServiceImpl implements CommonService {
	CommonHeroDao commonHero = new CommonHeroDaoImpl();
	List list = new ArrayList(); 
	@Override
	public List getList(User user) {
		list = commonHero.getCommonHero(user); //调用数据层方法，返回带数据的list集合
		return list;
	}
}
